<div class="fadeIn">
	<br>
	<ol class="breadcrumb" style="margin-bottom:0px">
		<li class="active"><span class="glyphicon glyphicon-home" style="color:#23527c"></span>&nbsp;
			<mainpage></mainpage>
		</li>
		<li class="active">业务工作台 / 短信查询 / 短信发送统计</li>
	</ol>

  <div>
      <ul class="nav nav-tabs marT15">
	      <li role="presentation" class="active"><a href="#/sendStat" style="color: #555;">发送短信</a></li>
	      <li role="presentation" ><a href="#/reserveStat" style="color:#555;">接收短信</a></li>
	    
      </ul> 
     
	
	<form class="form-inline" action="smFlow/out-excel" method="post" id="form">
		<div class="marB15 clearfix">
			<div class="control-group row marR10 marT15 left" style="margin-left:0px;">
			    <span class="search-name">时间选择</span>
				<div class="controls ">
					 <input type="text" ng-model="searchData.startDate"  placeholder="" name="startDate" style="display: none;">
                    <input type="text" ng-model="searchData.endDate"   placeholder="" name="endDate" style="display: none;">
					<div class="input-prepend input-group">
						<span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span><input type="text" readonly style="width: 155px"  id="sendStatDate" class="form-control" />
                        <span class="input-group-addon" ng-click='clearTime()'>清空</span>
					</div>
				</div>
			</div>
			<div class="left marR10 marT15">
				<span class="search-name">业务端类型</span>
				<select class="form-control1" ng-change='getSms()' ng-model="searchData.svrNode" name="svrNode">
					<option value="">全部</option>
					<option value={{row.SVR_NODE}} ng-repeat="row in listData1">{{row.SVR_NODE_NAME}}</option>
				</select>
			</div>
			<div class="left marR10 marT15">
				<span class="search-name">短信类型</span>
				<select class="form-control1" ng-model="searchData.serviceCode" name="serviceCode">
					<option value="">全部</option>
					<option value={{row.serviceCode}} ng-repeat="row in listData2">{{row.serviceName}}</option>
				</select>
			</div>
			<a href="javascript:;" class=" btn btn-sm btn-primary left marT15" id="search" ng-click='search()'><span class="glyphicon glyphicon-search"></span></a>
			<div class="right marT15" style="position:relative">
				<button class="btn btn-primary btn-sm" ng-click='outExcel()'><img style="width:25px; height:20px;" src="img/excel.png">导出表格<span ng-style='loadStyle' class="outExcelLoad"><img  src="img/load.gif"></span>
                </button>
			</div>
		</div>
	</form>

    <div class="table-box">

	<table class="table table-bordered table-striped text-center bg-info">
		<thead>
			<tr class="info">
				<th class="text-center">序号</th>
				<th class="text-center">日期</th>
				<th class="text-center">业务端类型</th>
				<th class="text-center">短信类型</th>
				<th class="text-center">发送短信数（条）</th>
				<th class="text-center">发送成功数（条）</th>
				<th class="text-center">发送失败数（条）</th>
				<th class="text-center">用户接收成功数（条）</th>
				<th class="text-center">用户接收失败数（条）</th>
				<th class="text-center">待返回结果数（条）</th>
				<!-- <th class="text-center">接收短信数（条）</th> -->
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="Item in result">
				<td>{{ $index+1 }}</td>
				<td class="w115">{{ Item.sday }}</td>
				<td class="w115">{{ Item.svrNodeName }}</td>
				<td class="w85">{{ Item.serviceName }}</td>
				<td class="w115"><a ng-click="GoDsDetail(Item.sday,'','','','','',Item.svrNode,Item.serviceCode)">{{ Item.total }}</a></td>
				<td class="w115"><a ng-click="GoDsDetail(Item.sday,'1','','','','',Item.svrNode,Item.serviceCode)">{{ Item.sendSuc }}</a></td>
				<td class="w115"><a ng-click="GoDsDetail(Item.sday,'','1','','','',Item.svrNode,Item.serviceCode)">{{ Item.sendFail }}</a></td>
				<td style="min-width: 140px"><a ng-click="GoDsDetail(Item.sday,'','','1','','',Item.svrNode,Item.serviceCode)">{{ Item.recvSuc }}</a></td>
				<td style="min-width: 140px;"><a ng-click="GoDsDetail(Item.sday,'','','','1','',Item.svrNode,Item.serviceCode)">{{ Item.recvFail }}</a></td>
				<td style="min-width: 130px"><a ng-click="GoDsDetail(Item.sday,'','','','','1',Item.svrNode,Item.serviceCode)">{{ Item.recvNone }}</a></td>
				<!-- <td class="w115"><a ng-click="GoUpDetail(Item.sday,Item.svrNode)">{{ Item.upTotal }}</a></td> -->
			</tr>
		</tbody>
	</table>
	</div>
    </div>
	
	<div class="flip">
		  <page></page>
	    </div>




</div>
 <!-- 加载框 -->
   <span class='loaded' ng-show='loaded'><img  src="img/load.gif"></span>
 <!-- 加载框 完成-->